<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateShopSignBusinTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('shop_sign_busin', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('shop_id')->comment('商户id');
            $table->integer('sort')->default(0)->comment('排序');
            $table->string('sign_name',255)->comment('招牌名称');
            $table->string('sign_photo_url',255)->comment('招牌图片url');
            $table->integer('status',4)->default(1)->comment('状态');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('shops_sign_busin');
    }
}
